package com.softWang.system.controller.vo.systemRoles;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;
@Data
public class SystemRolesDetailResult{

    @ApiModelProperty(value = "主键id")
    private Long id;

    @ApiModelProperty(value = "角色名，最大长度为60位")
    private String rname;

    @ApiModelProperty(value = "角色后台权限标识，最大长度为60位")
    private String code;

    @ApiModelProperty(value = "类型，(1.内置角色，2.创建的普通角色)")
    private Integer type;

    @ApiModelProperty(value = "状态，0:正常,1:停用")
    private Integer state;

    private List<Long> menuIds;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime ctime;

    @ApiModelProperty(value = "最后更新时间")
    private LocalDateTime utime;

    @ApiModelProperty(value = "创建用户id")
    private Long cuser;

    @ApiModelProperty(value = "更新用户id")
    private Long euser;

    @ApiModelProperty(value = "数据权限（1：全部数据权限  2：本部门数据权限 3：本部门及以下数据权限 4:指定部门数据权限 5:指定部门及下属部门数据权限 6:仅本人数据权限）")
    private Integer dataScope;

    @ApiModelProperty(value = "数据权限部门ID列表")
    private List<Long> deptIds;
}